package cn.zl.ymcc.fegin;

import cn.zl.ymcc.entity.Login;
import cn.zl.ymcc.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "service-uaa")
public interface UaaFegin {


    @PostMapping("/login/register")
    public Result register(@RequestBody Login login) ;


}
